﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Models
{
    public class RESTful
    {


        public Object data
        {
            get; set;
        }

        public String msg
        {
            get; set;
        }
        public int status
        {
            get; set;
        }


        public RESTful(Object data)
        {
            this.status = 0;
            this.msg = "";
            this.data = data;
        }

        public RESTful(String msg, Object data)
        {
            this.status = 0;
            this.msg = msg;
            this.data = data;
        }

        public RESTful(int status, String msg, Object data)
        {
            this.status = status;
            this.msg = msg;
            this.data = data;
        }
    }
}